package com.xl;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 中台
 *
 * 1.Sharing is only supported for boot loader classes because bootstrap classpath has been appended
 * 解决办法：打开idea设置，输入 async  去掉 instrumenting agent 勾 解决
 * 2.SLF4J: Class path contains multiple SLF4J bindings.
 * 解决办法： pom中注释掉依赖 spring-boot-starter-log4j2  因为重复导入
 */
@SpringBootApplication
@EnableTransactionManagement
@EnableJpaRepositories
public class CentreApplication {

    public static void main(String[] args) {
        SpringApplication.run(CentreApplication.class, args);
    }

}
